var _level;
var _battle;
var _chess;
var _message;
var _skill;
var _effect;
var _end;
var _ai;

function LoadData(){
	var battle=jsb.fileUtils.getStringFromFile("src/data/battle.json");
	_battle= JSON.parse(battle);
	var chess=jsb.fileUtils.getStringFromFile("src/data/chess.json");
	_chess= JSON.parse(chess);
	var message=jsb.fileUtils.getStringFromFile("src/data/message.json");
	_message= JSON.parse(message);
	var skill=jsb.fileUtils.getStringFromFile("src/data/skill.json");
	_skill= JSON.parse(skill);
	var effect=jsb.fileUtils.getStringFromFile("src/data/effect.json");
	_effect= JSON.parse(effect);
	var end=jsb.fileUtils.getStringFromFile("src/data/end.json");
	_end= JSON.parse(end);
	var ai=jsb.fileUtils.getStringFromFile("src/data/ai.json");
	_ai= JSON.parse(ai);
	initSaveData();
}